package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.domain.BTxnLimitCfg;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;

public interface MerchantBaseInfoService extends IService<BTxnLimitCfg> {
    public void editTmQuota(BTxnLimitCfg txnCfginfo) throws RedpException;
    public List<BTxnLimitCfg> getAddTermNoList(String mcNo, String instId,String opp) throws RedpException;
    public void batchUploadBankQuotal(ArrayList<BTxnLimitCfg> bankLevelQuotaList, String instId) throws RedpException;
    public List<BTxnLimitCfg> getNotAddMCInfo(String instId) throws RedpException;
    public void saveMcTremQuota(BTxnLimitCfg txnCfginfo, HttpServletRequest request) throws RedpException;
    public void editMcQuota(BTxnLimitCfg txnCfginfo) throws RedpException;
    public Page<BTxnLimitCfg> getMerchantLevelList(HttpServletRequest request) throws RedpException;
    public void stopMcLevelQuota(HttpServletRequest request,BTxnLimitCfg reqLimit) throws RedpException;
    public void startMcLevelQuota(HttpServletRequest request,BTxnLimitCfg req) throws RedpException;
    public void deleteMcLevelQuota(HttpServletRequest request,BTxnLimitCfg req) throws RedpException;
    BTxnLimitCfg getMarchantInfoByMcNo(String instId, String mcNo);
    public Page<BTxnLimitCfg> getTermQuotaList(String mcNo, BTxnLimitCfg request) throws RedpException;
    void saveMerchantQuotaInfo(BTxnLimitCfg txnCfginfo, HttpServletRequest request)  throws RedpException;
}
